<?php

require_once 'phpmoko/ui/Panel.php';

class FlowPanel extends Panel
{
	function __construct()
	{
		parent::__construct();

		$this->setStyleName('pmk-FlowPanel');
	}

	function toString()
	{
		$str = '<div';

		if ($this->id != null)
			$str .= ' id="'.$this->id.'"';

		$str .= '>';
			
		foreach ($this as $widget)
			$str .= $widget->toString();

		$str .= '</div>';

		return $str;
	}
}
?>